package org.example.services;

import org.example.domain.Order;
import org.example.domain.response.ResponseResult;

public interface OrderService {
    ResponseResult saveOrder(Order order);
    ResponseResult updateOrder(Order order);
    ResponseResult deleteOrder(Integer orderId);
    ResponseResult getAllOrder();
    ResponseResult getOrderByOrderId(Integer OrderId);
    ResponseResult getPage(int currentPage,int pageSize);
}
